package gretha.donnees;

public class TypeUsage {
	private TypeUsage typeUsageParent;
	
	private String nom;
	
	private double pourcentage;

	public TypeUsage() {
		super();
		typeUsageParent = new TypeUsage();
		nom = "";
		pourcentage = 0.0;
	}

	public TypeUsage(TypeUsage typeUsageParent, String nom, double pourcentage) {
		super();
		this.typeUsageParent = typeUsageParent;
		this.nom = nom;
		this.pourcentage = pourcentage;
	}

	public TypeUsage getTypeUsageParent() {
		return typeUsageParent;
	}

	public void setTypeUsageParent(TypeUsage typeUsageParent) {
		this.typeUsageParent = typeUsageParent;
	}

	public String getNom() {
		return nom;
	}

	public void setNom(String nom) {
		this.nom = nom;
	}

	public double getPourcentage() {
		return pourcentage;
	}

	public void setPourcentage(double pourcentage) {
		this.pourcentage = pourcentage;
	}

	
}
